package com.ruoyi.ms.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 妙手虾皮订单收入明细对象 t_ms_xp_order_income
 * 
 * @author chdx
 * @date 2022-12-06
 */
public class MsOrderIncome extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 表的id */
    private Long orderIncomeId;

    /** 平台订单id */
    @Excel(name = "平台订单id")
    private Long opOrderId;

    /** 平台订单号 */
    @Excel(name = "平台订单号")
    private String orderSn;

    /** 店铺id */
    @Excel(name = "店铺id")
    private Long shopId;

    /** 本地币种 */
    @Excel(name = "本地币种")
    private String localCurrency;

    /** 买家实付金额 */
    @Excel(name = "买家实付金额")
    private BigDecimal totalAmount;

    /** Shopee币抵扣 */
    @Excel(name = "Shopee币抵扣")
    private BigDecimal coin;

    /** Shopee Voucher */
    @Excel(name = "Shopee Voucher")
    private BigDecimal voucher;

    /** 卖家 Voucher */
    @Excel(name = "卖家 Voucher")
    private BigDecimal voucherSeller;

    /** 卖家返现 */
    @Excel(name = "卖家返现")
    private BigDecimal sellerRebate;

    /** 卖家支付运费 */
    @Excel(name = "卖家支付运费")
    private BigDecimal actualShippingCost;

    /** 买家支付运费 */
    @Excel(name = "买家支付运费")
    private BigDecimal buyerPaidShippingFee;

    /** shopee运费补贴 */
    @Excel(name = "shopee运费补贴")
    private BigDecimal shippingFeeRebate;

    /** 佣金 */
    @Excel(name = "佣金")
    private BigDecimal commissionFee;

    /** 优惠券编码 */
    @Excel(name = "优惠券编码")
    private String voucherCode;

    /** 优惠券编码 */
    @Excel(name = "优惠券编码")
    private String voucherName;

    /** 订单收入 */
    @Excel(name = "订单收入")
    private BigDecimal escrowAmount;

    /** 关税 */
    @Excel(name = "关税")
    private BigDecimal crossBorderTax;

    /** 信用卡手续费 */
    @Excel(name = "信用卡手续费")
    private BigDecimal creditCardTransactionFee;

    /** 交易手续费 */
    @Excel(name = "交易手续费")
    private BigDecimal sellerTransactionFee;

    /** 服务费 */
    @Excel(name = "服务费")
    private BigDecimal serviceFee;

    /** 买家shopee贷款 */
    @Excel(name = "买家shopee贷款")
    private BigDecimal buyerShopeeKredit;

    /** 卖家返现 */
    @Excel(name = "卖家返现")
    private BigDecimal sellerCoinCashBack;

    /** 最终运费 */
    @Excel(name = "最终运费")
    private BigDecimal finalShippingFee;

    /** 卖家退款金额 */
    @Excel(name = "卖家退款金额")
    private BigDecimal sellerReturnRefundAmount;

    /** 信用卡推广费用 */
    @Excel(name = "信用卡推广费用")
    private BigDecimal creditCardPromotion;

    /** 是否完成 */
    @Excel(name = "是否完成")
    private Long isCompleted;

    /** 订单创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "订单创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date gmtCreate;

    /** 订单创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "订单创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date gmtModified;

    /** 运费总额 */
    @Excel(name = "运费总额")
    private BigDecimal realShippingFee;

    /** 人民币运费总额 */
    @Excel(name = "人民币运费总额")
    private BigDecimal cnyRealShippingFee;

    public void setOrderIncomeId(Long orderIncomeId) 
    {
        this.orderIncomeId = orderIncomeId;
    }

    public Long getOrderIncomeId() 
    {
        return orderIncomeId;
    }
    public void setOpOrderId(Long opOrderId) 
    {
        this.opOrderId = opOrderId;
    }

    public Long getOpOrderId() 
    {
        return opOrderId;
    }
    public void setOrderSn(String orderSn) 
    {
        this.orderSn = orderSn;
    }

    public String getOrderSn() 
    {
        return orderSn;
    }
    public void setShopId(Long shopId) 
    {
        this.shopId = shopId;
    }

    public Long getShopId() 
    {
        return shopId;
    }
    public void setLocalCurrency(String localCurrency) 
    {
        this.localCurrency = localCurrency;
    }

    public String getLocalCurrency() 
    {
        return localCurrency;
    }
    public void setTotalAmount(BigDecimal totalAmount) 
    {
        this.totalAmount = totalAmount;
    }

    public BigDecimal getTotalAmount() 
    {
        return totalAmount;
    }
    public void setCoin(BigDecimal coin) 
    {
        this.coin = coin;
    }

    public BigDecimal getCoin() 
    {
        return coin;
    }
    public void setVoucher(BigDecimal voucher) 
    {
        this.voucher = voucher;
    }

    public BigDecimal getVoucher() 
    {
        return voucher;
    }
    public void setVoucherSeller(BigDecimal voucherSeller) 
    {
        this.voucherSeller = voucherSeller;
    }

    public BigDecimal getVoucherSeller() 
    {
        return voucherSeller;
    }
    public void setSellerRebate(BigDecimal sellerRebate) 
    {
        this.sellerRebate = sellerRebate;
    }

    public BigDecimal getSellerRebate() 
    {
        return sellerRebate;
    }
    public void setActualShippingCost(BigDecimal actualShippingCost) 
    {
        this.actualShippingCost = actualShippingCost;
    }

    public BigDecimal getActualShippingCost() 
    {
        return actualShippingCost;
    }
    public void setBuyerPaidShippingFee(BigDecimal buyerPaidShippingFee) 
    {
        this.buyerPaidShippingFee = buyerPaidShippingFee;
    }

    public BigDecimal getBuyerPaidShippingFee() 
    {
        return buyerPaidShippingFee;
    }
    public void setShippingFeeRebate(BigDecimal shippingFeeRebate) 
    {
        this.shippingFeeRebate = shippingFeeRebate;
    }

    public BigDecimal getShippingFeeRebate() 
    {
        return shippingFeeRebate;
    }
    public void setCommissionFee(BigDecimal commissionFee) 
    {
        this.commissionFee = commissionFee;
    }

    public BigDecimal getCommissionFee() 
    {
        return commissionFee;
    }
    public void setVoucherCode(String voucherCode) 
    {
        this.voucherCode = voucherCode;
    }

    public String getVoucherCode() 
    {
        return voucherCode;
    }
    public void setVoucherName(String voucherName) 
    {
        this.voucherName = voucherName;
    }

    public String getVoucherName() 
    {
        return voucherName;
    }
    public void setEscrowAmount(BigDecimal escrowAmount) 
    {
        this.escrowAmount = escrowAmount;
    }

    public BigDecimal getEscrowAmount() 
    {
        return escrowAmount;
    }
    public void setCrossBorderTax(BigDecimal crossBorderTax) 
    {
        this.crossBorderTax = crossBorderTax;
    }

    public BigDecimal getCrossBorderTax() 
    {
        return crossBorderTax;
    }
    public void setCreditCardTransactionFee(BigDecimal creditCardTransactionFee) 
    {
        this.creditCardTransactionFee = creditCardTransactionFee;
    }

    public BigDecimal getCreditCardTransactionFee() 
    {
        return creditCardTransactionFee;
    }
    public void setSellerTransactionFee(BigDecimal sellerTransactionFee) 
    {
        this.sellerTransactionFee = sellerTransactionFee;
    }

    public BigDecimal getSellerTransactionFee() 
    {
        return sellerTransactionFee;
    }
    public void setServiceFee(BigDecimal serviceFee) 
    {
        this.serviceFee = serviceFee;
    }

    public BigDecimal getServiceFee() 
    {
        return serviceFee;
    }
    public void setBuyerShopeeKredit(BigDecimal buyerShopeeKredit) 
    {
        this.buyerShopeeKredit = buyerShopeeKredit;
    }

    public BigDecimal getBuyerShopeeKredit() 
    {
        return buyerShopeeKredit;
    }
    public void setSellerCoinCashBack(BigDecimal sellerCoinCashBack) 
    {
        this.sellerCoinCashBack = sellerCoinCashBack;
    }

    public BigDecimal getSellerCoinCashBack() 
    {
        return sellerCoinCashBack;
    }
    public void setFinalShippingFee(BigDecimal finalShippingFee) 
    {
        this.finalShippingFee = finalShippingFee;
    }

    public BigDecimal getFinalShippingFee() 
    {
        return finalShippingFee;
    }
    public void setSellerReturnRefundAmount(BigDecimal sellerReturnRefundAmount) 
    {
        this.sellerReturnRefundAmount = sellerReturnRefundAmount;
    }

    public BigDecimal getSellerReturnRefundAmount() 
    {
        return sellerReturnRefundAmount;
    }
    public void setCreditCardPromotion(BigDecimal creditCardPromotion) 
    {
        this.creditCardPromotion = creditCardPromotion;
    }

    public BigDecimal getCreditCardPromotion() 
    {
        return creditCardPromotion;
    }
    public void setIsCompleted(Long isCompleted) 
    {
        this.isCompleted = isCompleted;
    }

    public Long getIsCompleted() 
    {
        return isCompleted;
    }
    public void setGmtCreate(Date gmtCreate) 
    {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtCreate() 
    {
        return gmtCreate;
    }
    public void setGmtModified(Date gmtModified) 
    {
        this.gmtModified = gmtModified;
    }

    public Date getGmtModified() 
    {
        return gmtModified;
    }
    public void setRealShippingFee(BigDecimal realShippingFee) 
    {
        this.realShippingFee = realShippingFee;
    }

    public BigDecimal getRealShippingFee() 
    {
        return realShippingFee;
    }
    public void setCnyRealShippingFee(BigDecimal cnyRealShippingFee) 
    {
        this.cnyRealShippingFee = cnyRealShippingFee;
    }

    public BigDecimal getCnyRealShippingFee() 
    {
        return cnyRealShippingFee;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orderIncomeId", getOrderIncomeId())
            .append("opOrderId", getOpOrderId())
            .append("orderSn", getOrderSn())
            .append("shopId", getShopId())
            .append("localCurrency", getLocalCurrency())
            .append("totalAmount", getTotalAmount())
            .append("coin", getCoin())
            .append("voucher", getVoucher())
            .append("voucherSeller", getVoucherSeller())
            .append("sellerRebate", getSellerRebate())
            .append("actualShippingCost", getActualShippingCost())
            .append("buyerPaidShippingFee", getBuyerPaidShippingFee())
            .append("shippingFeeRebate", getShippingFeeRebate())
            .append("commissionFee", getCommissionFee())
            .append("voucherCode", getVoucherCode())
            .append("voucherName", getVoucherName())
            .append("escrowAmount", getEscrowAmount())
            .append("crossBorderTax", getCrossBorderTax())
            .append("creditCardTransactionFee", getCreditCardTransactionFee())
            .append("sellerTransactionFee", getSellerTransactionFee())
            .append("serviceFee", getServiceFee())
            .append("buyerShopeeKredit", getBuyerShopeeKredit())
            .append("sellerCoinCashBack", getSellerCoinCashBack())
            .append("finalShippingFee", getFinalShippingFee())
            .append("sellerReturnRefundAmount", getSellerReturnRefundAmount())
            .append("creditCardPromotion", getCreditCardPromotion())
            .append("isCompleted", getIsCompleted())
            .append("gmtCreate", getGmtCreate())
            .append("gmtModified", getGmtModified())
            .append("realShippingFee", getRealShippingFee())
            .append("cnyRealShippingFee", getCnyRealShippingFee())
            .toString();
    }
}
